﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FB.Utilities;

namespace FB.DataAccess.DataInf
{
    public interface IVideoDAO
    {
        IEnumerable<Video> GetAllVideo();
        Video GetVideoByID(Guid id);
        Video GetLastRecord();
        bool UpdateVideo(Video video);
        ReturnValue<bool> InsertVideo(Video video);
        ReturnValue<bool> DelVideo(Guid id);
        ReturnValue<bool> DelVideo(Video video);
        IEnumerable<View_VideoInCategory> GetVideoByCategory(Guid categoryID, int limit);
    }
}
